package com.demo.bookstore.service;

import com.demo.bookstore.bean.User;

import java.util.List;

/**
 * @author ddone
 * @date 2024/3/12-11:04
 */
public interface UserService {

    User findUserByUp(User user);

    int insertUser(User user);

    int deleteById(String userid);

    User findUserById(String userid);

    List<User> findUserList();

    int updateUser(User user);

    boolean checkUserName(String username);
}
